<?php
namespace Admin\Controller;
use Think\Controller;

class UgroupController extends Controller{
    /**
    用户组,系统组
     **/
    public function indexAction(){

        $sql = "select * from groups";

        $model = M();

        $group = $model->query($sql);

        $this->assign('group',$group);

        $this->display('index');
    }
}